
namespace SpiderMaster.AspNet.TradingSystem
{
    public partial class MemberManagement
    {
        public partial class OutputFormatting
        {
            public static string MailSentToToString(object MailSentTo)
            {
                return MailSentToToString((MailSentTo)(int)MailSentTo);
            }
            public static string MailSentToToString(MailSentTo MailSentTo)
            {
                switch (MailSentTo)
                {
                    case MailSentTo.UnSpecified:
                        return "Un Specified";
                    case MailSentTo.NotListed:
                        return "Not Listed";
                    case MailSentTo.Residence:
                        return "My Residential Address as Above";
                    case MailSentTo.Business:
                        return "My Work Place As Below";
                    case MailSentTo.POBoxMailBag:
                        return "P.O. Box or Mail Bag as Below";
                    default:
                        return "Not Listed";
                }
            }
        }
    }
}